package com.ruoyi.qiushi.domain.system;

import java.math.BigDecimal;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 任务对象 qiushi_task
 *
 * @author ruoyi
 * @date 2023-12-29
 */
public class QiushiTask extends BaseEntity {
    private static final long serialVersionUID = 1L;

    private String userName;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    /**
     * $column.columnComment
     */
    private Long id;

    /**
     * 任务类型 1：每日任务  2：一次性任务
     */
    @Excel(name = "任务类型 1：每日任务  2：一次性任务")
    private String type;

    /**
     * 任务名称
     */
    @Excel(name = "任务名称")
    private String name;

    /**
     * 奖励积分
     */
    @Excel(name = "奖励积分")
    private BigDecimal point;

    /**
     * 标识  user:完善个人资料  consume:首次消费  form:问卷调查  data:测量数据  login:每日登录 read:阅读资讯
     */
    @Excel(name = "标识  user:完善个人资料  consume:首次消费  form:问卷调查  data:测量数据  login:每日登录 read:阅读资讯")
    private String flag;

    /**
     * 关联数据   问卷调查关联qiushi_form.id
     */
    @Excel(name = "关联数据   问卷调查关联qiushi_form.id ")
    private Long joinId;

    /**
     * 0正常 1删除
     */
    private String delFlag;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getType() {
        return type;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setPoint(BigDecimal point) {
        this.point = point;
    }

    public BigDecimal getPoint() {
        return point;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    public String getFlag() {
        return flag;
    }

    public void setJoinId(Long joinId) {
        this.joinId = joinId;
    }

    public Long getJoinId() {
        return joinId;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getDelFlag() {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("type", getType())
                .append("name", getName())
                .append("point", getPoint())
                .append("flag", getFlag())
                .append("joinId", getJoinId())
                .append("delFlag", getDelFlag())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
